<template>
	<view class="login-page">
		<view class="login-form">
			<view class="logo">
				<image src="../../static/logo.png" mode=""></image>
			</view>
			<view class="form-details">
				<form>
					<view class="fillout">
						<input type="text" placeholder-style="color:#bfbfbf;" placeholder="请输入邀请码" :value="authCode"/>
						<button type="primary" @click="createPerson('createPerson')">创建家长赋能群</button>
					</view>
					<view class="verify">
						<button type="primary" >立即验证</button>
					</view>
				</form>
			</view>
		</view>
	</view>
</template>

<script>
  import  {getHomeList}  from '@/api/index.js';
	export default {
		data() {
			return {
				title: 'Hello',
				authCode:""
			}
		},
		onLoad() {
			
		},
		methods: {
		  createPerson(name){
			  this.$Router.push({
			  		name:name,
			  		params:{}
			  })
		  }
		}
	}
</script>

<style lang="scss" scoped>
	page,.login-page{
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		&>.login-form{
			width: 100%;
			height: 800upx;
			display: flex;
			flex-direction:column;
			.logo{
				width: 100%;
				display: flex;
				justify-content: center;
				image{
					width:200upx;
					height: 200upx;
				}
			}
			.form-details{
				width: 100%;
			    flex: 1;
				form{
					width: 100%;
					height: 100%;
				}
				.verify{
					height: 300upx;
					display: flex;
					align-items: center;
					justify-content: center;
					&>button{
						width: 90%;
						height: 80upx;
						align-items: center;
						justify-content: center;
						font-size: 32upx;
						background: #409EFF;
						border:none;
						margin-top: 30upx;
						color: white;
					}
				}
				.fillout{
					height: 300upx;
					box-sizing: border-box;
					display: flex;
					flex-direction: column;
					align-items: center;
					justify-content: center;
					&>button{
						width: 90%;
						height: 80upx;
						align-items: center;
						justify-content: center;
						font-size: 32upx;
						border:none;
						background: #409EFF;
						margin-top: 40upx;
					}
					&>input{
						position: relative;
						background: white;
						height: 80upx;
						padding: 0upx 30upx;
						width: 90%;
						border-radius: 10upx;
						font-size: 32upx;
						box-sizing: border-box;
					    border: 1px solid #bfbfbf;
					}
				}
			}
		}
	}
</style>
